﻿using System;

namespace MessagePack.Decoders
{
	// Token: 0x020000C1 RID: 193
	internal class UInt64UInt64 : IUInt64Decoder
	{
		// Token: 0x060002EC RID: 748 RVA: 0x0000BC37 File Offset: 0x0000A037
		private UInt64UInt64()
		{
		}

		// Token: 0x060002ED RID: 749 RVA: 0x0000BC40 File Offset: 0x0000A040
		public ulong Read(byte[] bytes, int offset, out int readSize)
		{
			readSize = 9;
			return (ulong)bytes[offset + 1] << 56 | (ulong)bytes[offset + 2] << 48 | (ulong)bytes[offset + 3] << 40 | (ulong)bytes[offset + 4] << 32 | (ulong)bytes[offset + 5] << 24 | (ulong)bytes[offset + 6] << 16 | (ulong)bytes[offset + 7] << 8 | (ulong)bytes[offset + 8];
		}

		// Token: 0x040000DF RID: 223
		internal static readonly IUInt64Decoder Instance = new UInt64UInt64();
	}
}
